import { defineStore } from "pinia";
export const useUserStore = defineStore({
    id: 'user',
    state: () => {
        return {
            num:1
        }
    },
    //参见 https://prazdevs.github.io/pinia-plugin-persistedstate/zh/guide/
    persist: true,
})